//
//  SearchLocation.h
//  CarLife
//
//  Created by yu on 2017/11/14.
//  Copyright © 2017年 jpas. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>

@class AMapPOI;
@class AMapTip;

@interface SearchLocation : NSObject

@property (nonatomic, assign) CLLocationCoordinate2D coordinate;
@property (nonatomic, copy) NSString *city;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *address;
@property (nonatomic, copy) NSString *uid;
@property (nonatomic, copy) NSString *district;


//+ (SearchLocation *)locationWithPOI:(AMapPOI *)poi;
+ (SearchLocation *)locationWithTip:(AMapTip *)tip city:(NSString *)city;

@end
